package com.tencent.txcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CourseOrderDto {
    @NotEmpty
    private List<Long> courseIds;

    @NotNull
    private Integer payType;

    @NotNull
    private String token;

    @NotNull
    private Integer type;
}
